body, html {
    font-family: Arial, sans-serif;
    margin: 0;
    min-height: 210vh;
    background-image: url('../picture/mdbj.jpg'); /* 替换为你的图片路径 */
    background-color: rgb(9, 5, 8); /* 背景颜色作为回退选项 */
    background-size: cover; /* 使背景图片覆盖整个元素 */
    background-position: center; /* 将背景图片放置在元素中心 */
    background-repeat: no-repeat; /* 防止背景图片重复 */
    background-attachment: fixed; /* 滚动时背景图片固定 */
    font-family: YouYuan;
    font-weight: 1000;
}



.container {
    background-color: rgba(255, 255, 255, 0.84);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 80%;
    max-width: 1000px;
    margin-top: 18px;
    margin-left: auto;
    margin-right: auto;
}

h1 {
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
textarea {
    width: 95%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

textarea {
    resize: vertical;
}

.submit-btn {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #0056b3;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }
}


.checkbox-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    margin: 20px 0;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px; /* 与标签文本保持一定间隔 */
    cursor: pointer; /* 鼠标悬停时显示手形图标 */

}

.checkbox-group label {
    cursor: pointer; /* 鼠标悬停时显示手形图标 */
}

/* 可选：添加自定义的checkbox样式 */
.checkbox-group input[type="checkbox"] {
    display: none; /* 隐藏原生的checkbox */
}

.checkbox-group input[type="checkbox"] + label:before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border: 2px solid #007bff;
    border-radius: 4px;
    background-color: white;
    transition: background-color 0.3s;
}

.checkbox-group input[type="checkbox"]:checked + label:before {
    background-color: #007bff;
}

/* 可选：添加自定义的checkbox标记 */
.checkbox-group input[type="checkbox"]:checked + label:after {
    position: absolute;
    left: 24px; /* 根据before元素的尺寸和margin调整 */
    top: 0;
    color: white;
}

